<?php
	namespace app\admin\controller;
	use think\Controller;
	class Base extends Controller
	{
		public function _initialize(){
			$isLogin = session('loginInfo','','admin');
			if(!$isLogin){
				$this->redirect("login/login");
			}
		}
	}
